#Makefile MatrixMultiply

OBJECTS= Matrix.o MatrixMultiply.o main.o
EXECUTABLE=mm
LIBS=-lblas -lgomp

%.o: %.cpp %.h
	@g++ -c $<

all: $(OBJECTS)
	@g++ -o $(EXECUTABLE) $(OBJECTS) $(LIBS)

rebuild: clean all	
 
clean:
	rm -f *.o
	rm -f $(EXECUTABLE)

